-- Adds faster update to KingOfTheJungle addon


function SarfFix2:KingOfTheJungle_Initialize()
	if ( type(KingOfTheJungle) == "table" ) then
		hooksecurefunc("PetFrame_Update", function() KingOfTheJungle:UNIT_HAPPINESS() end);
		KingOfTheJungle.PLAYER_REGEN_ENABLED = KingOfTheJungle.UNIT_HAPPINESS;
		KingOfTheJungle:RegisterEvent("PLAYER_REGEN_ENABLED");
	end
end


--SarfFix2:PatchAddon("KingOfTheJungle", SarfFix2.KingOfTheJungle_Initialize);